HitTestTextRange(Int32,Int32,Single,Single,HitTestMetrics[],Int32,Int32) Method
In This Topic
HRESULT IDWriteTextLayout::HitTestTextRange([In] unsigned int textPosition,[In] unsigned int textLength,[In] float originX,[In] float originY,[Out, Buffer, Optional] DWRITE_HIT_TEST_METRICS* hitTestMetrics,[In] unsigned int maxHitTestMetricsCount,[Out] unsigned int* actualHitTestMetricsCount)
Syntax
'Declaration
Public Overloads Function HitTestTextRange( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal () As HitTestMetrics, _
ByVal As System.Integer, _
ByRef As System.Integer _
) As HResult
public HResult HitTestTextRange(
System.int ,
System.int ,
System.float ,
System.float ,
HitTestMetrics[] ,
System.int ,
out System.int
)
Parameters
- textPosition
- textLength
- originX
- originY
- hitTestMetrics
- maxHitTestMetricsCount
- actualHitTestMetricsCount
See Also